﻿using STHPMS1.ICore.I_Entity;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.ICore.I_DAL.Repository
{
    public interface IE_EvaluRepository : IDal
    {

        //List<string> GetRoadnetName();

        //List<string> GetYear();

        //double? GetLenght(string roadnetname, string year);

        //double? GetAvageMQI(string roadnetname, string year);

        //double? GetLenght(string roadnetname, string year, string searchvalue);


        /// <summary>
        /// 获取评定长度
        /// </summary>
        /// <param name="inspecid">评定名称</param>
        /// <param name="rdwayid">路线ID</param>
        /// <param name="searchvalues">查询条件</param>
        /// <returns></returns>
        double? GetLenght(string inspecid, string rdwayid, string searchvalues);
        /// <summary>
        /// 获取MQI的平均值
        /// </summary>
        /// <param name="inspecid">评定名称</param>
        /// <param name="rdwayid">路线ID</param>
        /// <param name="searchvalues">查询条件</param>
        /// <returns></returns>
        double? GetAverage(string inspecid, string rdwayid, string searchvalues);
    }
}
